package com.xianrenit.xianrenpuzi.order.service;

import com.xianrenit.xianrenpuzi.model.dto.h5.OrderSubmitDto;
import com.xianrenit.xianrenpuzi.model.entity.order.OrderInfo;
import com.xianrenit.xianrenpuzi.model.vo.h5.TradeVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

public interface OrderService extends IService<OrderInfo> {
    TradeVo trade();

    Long submitOrder(OrderSubmitDto orderSubmitDto);

    TradeVo buy(Long skuId);

    PageInfo<OrderInfo> getOrderPage(Integer pageNum, Integer pageSize, Integer orderStatus);

    void updateOrderInfo(String orderNo);
}
